<?php // list.php file - template to list articles ?>
<?=$this->load->view('common/header')?>  
<?=$this->load->view('admin/article/header')?> 
<div id="content">
	<table>
	<tr>
		<th>
			Cod.
		</th>
		<th>
			Titulo
		</th>
		<th>
			Artigo
		</th>	
	</tr>
	<?php
	foreach ($results->result() as $row):
	?>
	<tr>
		<td>
			<?=$row->cod_article?>
		</td>
		<td>
			<?=$row->vch_title?>
		</td>
		<td>
			<?=$row->txt_article?>
		</td>
	</tr>
	<?php
	endforeach;
	?>	
	</table>
</div>
<h3><?=anchor('admin/article/create', lang('link_create'))?></h3>
<?=$this->load->view('admin/article/footer')?> 
<?=$this->load->view('common/footer')?>  